package com.company.cloud.acct.modules.app.service;

import com.company.cloud.acct.modules.app.controller.req.BankCardAuthParam;
import com.company.cloud.acct.modules.app.controller.req.BankCardBindParam;
import com.company.cloud.acct.modules.app.controller.req.BankCardCodeParam;
import com.company.cloud.acct.modules.cache.models.BankCardModel;
import com.company.cloud.common.bean.LoginSimpleUserInfo;

public interface AcctBankCardService {


    public BankCardModel getBankCardDefByUser(Integer userId);

    public BankCardModel addBackCard(BankCardBindParam param, LoginSimpleUserInfo userInfo);

    public void unbindBankCard(Integer bankCardId,LoginSimpleUserInfo userInfo);

    public void updateDefBackCard(Integer bankCardId, LoginSimpleUserInfo userInfo);

    public void checkBackCardAuth(BankCardAuthParam param, LoginSimpleUserInfo userInfo);

    public void sendBankCardCode(BankCardCodeParam param, LoginSimpleUserInfo userInfo);

    public void validate(String mobile, String vcode, LoginSimpleUserInfo userInfo);

    public void test(String str);

}
